package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教材等级对象 lhq_teaching_material_grade
 * 
 * @author ruoyi
 * @date 2020-09-08
 */
public class LhqTeachingMaterialGrade extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 等级 */
    @Excel(name = "等级")
    private String grade;

    /** 赋分 */
    @Excel(name = "赋分")
    private Integer naturalEndowments;

    /** 奖励 */
    @Excel(name = "奖励")
    private Integer reward;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setNaturalEndowments(Integer naturalEndowments)
    {
        this.naturalEndowments = naturalEndowments;
    }

    public Integer getNaturalEndowments()
    {
        return naturalEndowments;
    }
    public void setReward(Integer reward) 
    {
        this.reward = reward;
    }

    public Integer getReward() 
    {
        return reward;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("grade", getGrade())
            .append("naturalEndowments", getNaturalEndowments())
            .append("reward", getReward())
            .toString();
    }
}
